package com.zjuee.base.model.common.ledger;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zjuee.base.model.Description;
import lombok.*;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 处置台账变更申请表
 *
 * @author wu liang
 * @since 1.0
 */
@Data
@TableName("wk_ledger_dispose_approval")
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class LedgerDisposeApproval extends Description {

	/**处置台账汇总表ID*/
	private Long wldgId;

	/**变化类型*/
	private String wldaChangeType;

	/**变化量*/
	private BigDecimal wldaChange;

	/**申请函存储路径*/
	private String wldaLetterUrl;

	/**申请原因*/
	private String wldaReason;

	/**审核状态*/
	private String wldaAuditStatus;

	/**创建人*/
	private String wldaCreator;

	/**创建时间*/
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private Date wldaCreateTime;
	// 修改人
	private String wldaModifier;
	// 修改时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private Date wldaModifiedTime;

	// 企业名称

	@TableField(exist = false)
	private String bciName;
	// 危废代码
	@TableField(exist = false)
	private String wldgCode;
	// 危废名称
	@TableField(exist = false)
	private String wldgName;
	// 危废名录
	@TableField(exist = false)
	private String wldgCodeStr;
	// 城市 虚拟字段
	@TableField(exist = false)
	private String bciCity;
	// 区县 虚拟字段
	@TableField(exist = false)
	private String bciArea;
	// 街道 虚拟字段
	@TableField(exist = false)
	private String bciStreet;
	/**变化类型-中文*/
	@TableField(exist = false)
	private String wldaChangeTypeStr;


}
